package me.yuxiaoyao.example.jpa.nativesql.entity.dto;

import me.yuxiaoyao.jpa.nativesql.annotation.NativeEntity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Id;
import java.sql.Date;
import java.sql.Time;
import java.sql.Timestamp;

/**
 * @author kerryzhang on 2020/12/16
 */


@NativeEntity
public class NativeSqlDTO {
    private Long id;
    private Integer age;
    private Byte sex;
    private Byte widget;
    private String name;
    private String nickname;
    private String password;
    private String desp;
    private byte[] avatar;
    private byte[] content;
    private Date birDate;
    private Time birTime;
    private Timestamp bir;
    private Timestamp birStamp;
    private Integer money;
    private Double moneyD;
    private Double moneyF;
    private byte[] bin;
    private byte[] binL;

    @Id
    @Column(name = "id")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Basic
    @Column(name = "age")
    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Basic
    @Column(name = "sex")
    public Byte getSex() {
        return sex;
    }

    public void setSex(Byte sex) {
        this.sex = sex;
    }

    @Basic
    @Column(name = "widget")
    public Byte getWidget() {
        return widget;
    }

    public void setWidget(Byte widget) {
        this.widget = widget;
    }

    @Basic
    @Column(name = "name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Basic
    @Column(name = "nickname")
    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    @Basic
    @Column(name = "password")
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Basic
    @Column(name = "desp")
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }

    @Basic
    @Column(name = "avatar")
    public byte[] getAvatar() {
        return avatar;
    }

    public void setAvatar(byte[] avatar) {
        this.avatar = avatar;
    }

    @Basic
    @Column(name = "content")
    public byte[] getContent() {
        return content;
    }

    public void setContent(byte[] content) {
        this.content = content;
    }

    @Basic
    @Column(name = "bir_date")
    public Date getBirDate() {
        return birDate;
    }

    public void setBirDate(Date birDate) {
        this.birDate = birDate;
    }

    @Basic
    @Column(name = "bir_time")
    public Time getBirTime() {
        return birTime;
    }

    public void setBirTime(Time birTime) {
        this.birTime = birTime;
    }

    @Basic
    @Column(name = "bir")
    public Timestamp getBir() {
        return bir;
    }

    public void setBir(Timestamp bir) {
        this.bir = bir;
    }

    @Basic
    @Column(name = "bir_stamp")
    public Timestamp getBirStamp() {
        return birStamp;
    }

    public void setBirStamp(Timestamp birStamp) {
        this.birStamp = birStamp;
    }


    @Basic
    @Column(name = "money")
    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    @Basic
    @Column(name = "money_d")
    public Double getMoneyD() {
        return moneyD;
    }

    public void setMoneyD(Double moneyD) {
        this.moneyD = moneyD;
    }

    @Basic
    @Column(name = "money_f")
    public Double getMoneyF() {
        return moneyF;
    }

    public void setMoneyF(Double moneyF) {
        this.moneyF = moneyF;
    }

    @Basic
    @Column(name = "bin")
    public byte[] getBin() {
        return bin;
    }

    public void setBin(byte[] bin) {
        this.bin = bin;
    }

    @Basic
    @Column(name = "bin_l")
    public byte[] getBinL() {
        return binL;
    }

    public void setBinL(byte[] binL) {
        this.binL = binL;
    }


}
